#!/bin/sh

# ****************
# Warnning:
# ****************
# Required source 'conf/httpd' before in 'openbsd_mail_server.sh'.
#   ${HTTPD_SERVERROOT}
#
# ----------------------------------------
# For SquirrelMail. 
# ----------------------------------------

# Version number for core program: SquirrelMail.
SQUIRRELMAIL_VERSION='1.4.13'
SQUIRRELMAIL_TARBALL="squirrelmail-${SQUIRRELMAIL_VERSION}.tar.bz2"

# ----------------------------------------
# For SquirrelMail plugins.
# ----------------------------------------

# These plugins will be enabled by default.
# The plugin name is the directory name you extract the source tarball.
ENABLED_PLUGINS="calendar change_ldappass compatibility check_quota select_language"

# change_ldappass
# URL: http://www.squirrelmail.org/plugin_view.php?id=26
PLUGIN_CHANGE_LDAPPASS_TARBALL="change_ldappass-2.2-1.4.0.tar.gz"

# Compatibiliry.
PLUGIN_COMPATIBILITY_TARBALL='compatibility-2.0.10-1.0.tar.gz'

# Check Quota.
PLUGIN_CHECK_QUOTA_TARBALL="check_quota-2.2-1.4.0.tar.gz"

# Select Language.
PLUGIN_SELECT_LANGUAGE_TARBALL="select_language-1.1-1.4.0.tar.gz"

# ----------------------------------------
# For SquirrelMail Translations.
# ----------------------------------------
SQUIRRELMAIL_TRANSLATIONS_TARBALL="all_locales-1.4.13-20071220.tar.gz"

# Default locale and charset.
# Note: Chinese locale 'zh_CN' and 'zh_TW' will be converted to 'utf-8' by default.
SQUIRRELMAIL_DEFAULT_LOCALE='en_US'
SQUIRRELMAIL_DEFAULT_CHARSET='utf-8'

#
# You do *NOT* need to modify the following args.
#
SQUIRRELMAIL_HTTPD_ROOT="${HTTPD_SERVERROOT}/squirrelmail-${SQUIRRELMAIL_VERSION}"
SQUIRRELMAIL_CONF_PL="${SQUIRRELMAIL_HTTPD_ROOT}/config/conf.pl"
SQUIRRELMAIL_CONFIG="${SQUIRRELMAIL_HTTPD_ROOT}/config/config.php"
SQUIRRELMAIL_PLUGIN_DIR="${SQUIRRELMAIL_HTTPD_ROOT}/plugins/"

PLUGIN_CHANGE_LDAPPASS_CONFIG="${SQUIRRELMAIL_PLUGIN_DIR}/change_ldappass/config.php"
